package com.example.designpatterns.behavioral.template;

/**
 * 具体类：拿铁
 *
 * @author scott
 */
class Latte extends CoffeeBeverage {

    @Override
    protected void brewCoffee() {
        System.out.println("冲泡浓缩咖啡");
    }

    @Override
    protected void addCondiments() {
        System.out.println("加入牛奶");
    }

    @Override
    protected void addExtras() {
        System.out.println("添加焦糖酱和奶泡");
    }

}
